/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const chartsRouter = {
  path: '/charts',
  component: Layout,
  redirect: '/charts/keyboard',
  alwaysShow: true,
  name: '计划模块',
  meta: {
    title: '计划模块',
    icon: 'chart'
  },
  children: [
    {
      path: 'keyboard',
      component: () => import('@/views/charts/keyboard'),
      name: '单位计划录入',
      meta: { title: '单位计划录入', icon: 'edit' }
    },
    {
      path: 'line',
      component: () => import('@/views/charts/line'),
      name: '调减计划录入',
      meta: { title: '调减计划录入', icon: 'edit' }
    },
  ]
}

export default chartsRouter
